// 枚举
enum Dir {
	Up = 10,
	Down,
	Left,
	Right
}

enum Direction {
	Up = "UP",
	Down = "DOWN",
	Left = "LEFT",
	Right = "RIGHT",
}

console.log(Direction.Up);
console.log(Direction['Up']);
